<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="D_ClientDelegates.aspx.cs" Inherits="ScottCateAjax2008.Lesson07.D_ClientDelegates" Title="Client Side Delegates" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager ID="SM1" ScriptMode="debug" runat="server">
        <Scripts>
            <asp:ScriptReference Path="D_ClientDelegates.aspx.js" />            
        </Scripts>
    </asp:ScriptManager>
    
    <asp:DropDownList ID="MathOperatorDropDownList" runat="server" OnChange="DrawMatrix(this.value)">
        <asp:ListItem Text="Show Grid" Value="0" />
        <asp:ListItem Text="Add" Value="1" />
        <asp:ListItem Text="Subtract" Value="2" />
        <asp:ListItem Text="Multiply" Value="3" />
        <asp:ListItem Text="Divide" Value="4" />
    </asp:DropDownList>

    <div id="Matrix">&nbsp;</div>
    
</asp:Content>
